@extends('admin.author.layout.layout')
@section('content')

<div class="panel panel-default">
    <div class="panel-heading">
       推荐书籍
    </div>
    <!-- /.panel-heading -->
    <div class="panel-body">
    
    <div class="row">   
		<div class="col-lg-8 col-lg-offset-2">
			@if(session('success'))

			<div class="alert alert-success">
             {{session('success')}}	
            </div>	

			@endif
	        <form action="{{url('/admin/extra/insertt')}}" method="post">
				<div class="form-group">
				    <label>推荐书籍</label>

				    <textarea class="form-control" rows="3" name="tj">@if(!empty($tj)){{$tj->tj}}@endif
				    </textarea>
				    <input type="hidden" name="aid" value="{{session('id')}}">
				    {{csrf_field()}}
				</div>
				<button type="submit" class="btn btn-primary btn-lg btn-block">发布推荐</button>
			</form>
		</div>
   	</div>

    </div>
    <!-- .panel-body -->
</div>


@endsection